<?php
/*
  $Id: footer.php,v 1.26 2003/02/10 22:30:54 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2003 osCommerce

  Released under the GNU General Public License
*/



// WebMakers.com Added: Down for Maintenance
// Hide footer.php if not to show
if (DOWN_FOR_MAINTENANCE_FOOTER_OFF =='false') {
  require(DIR_WS_INCLUDES . 'counter.php');
?>  
			<table width="100%">
            	<tr>
                    <td width="100%" class="footer">
                        <table width="100%">
                          <tr>
                            <td width="12"><img alt="" src="<? echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/bot-l.gif" ><br></td>
                            <td width="100%" class="bot">
                                <table width="100%">
                                  <tr>
                                    <td width="175">
                                        <img alt="" src="<? echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/c1.gif"  class="marg"><br>
                                    </td>
                                    <td width="100%">
                                        <br style="line-height:14px">
                                        <span ><?php
      if (!tep_session_is_registered('noaccount')){// DDB - PWA - 040622 - no display of logoff for PWA customers
         if (!tep_session_is_registered('customer_id')) {
		 		  echo ' <a href="' . tep_href_link(FILENAME_LOGIN, "", "SSL") . '" >' . HEADER_TITLE_LOGIN . '</a>';
                } else {
                  echo ' <a href="' . tep_href_link(FILENAME_LOGOFF, "", "SSL") . '" ">' . HEADER_TITLE_LOGOFF . ' </a>';
                }
               }?>&nbsp; &nbsp;|&nbsp;&nbsp; <?= '<a  href="' . tep_href_link(FILENAME_ACCOUNT, "", "SSL") . '">' . HEADER_TITLE_MY_ACCOUNT . ' </a>' ?>&nbsp; &nbsp;|&nbsp;&nbsp; <a href="<?=tep_href_link(FILENAME_CHECKOUT_CONFIRMATION)?>"><?= HEADER_TITLE_CHECKOUT?></a></span><br>
                                        <br style="line-height:2px">
                                        Copyright &copy; <?=date('Y')?> <?=STORE_NAME?>&nbsp; |&nbsp; <a href="<?=tep_href_link('information.php','info_id=3')?>" >Privacy Notice</a>
                                    </td>
                                  </tr>
                                </table>
                            </td>
                            <td width="12"><img alt="" src="<? echo DIR_WS_TEMPLATES . TEMPLATE_NAME?>/images/bot-r.gif" ><br></td>
                          </tr>
                        </table>
                    </td>
                </tr>
			</table>



<?php } ?>